<div class="content-box">
    <div class="box-header clear">
        <h2><?php echo lang('lbl_add_user') ?></h2>
    </div>
    <div class="box-body clear">
        <?php echo validation_errors(); ?>
            <?php echo form_open(base_url().'user/add'); ?>
            <div class="form-field clear">
                <label class="form-label fl-space2"><?php echo lang('lbl_username') ?> :(<span class="required">*</span>)</label>
                <input type="text" value="<?php echo set_value('username'); ?>" name="username" class="text" maxlength="45">
            </div>
            <div class="form-field clear">
                <label class="form-label fl-space2"><?php echo lang('lbl_password') ?>  :(<span class="required">*</span>)</label>
                <input type="password" value="<?php echo set_value('password'); ?>" name="password" class="text small">
            </div>
            <div class="form-field clear">
                <label class="form-label fl-space2"><?php echo lang('lbl_frm_password') ?> :(<span class="required">*</span>)</label>
                <input type="password" value="<?php echo set_value('passconf'); ?>" name="passconf" class="text small">
            </div>
             <div class="form-field clear">
                <label class="form-label fl-space2"><?php echo lang('lbl_email') ?>  (<span class="required">*</span>):</label>
                <input type="text" value="<?php echo set_value('email'); ?>" name="email" class="text small" id="email" maxlength="45">
            </div>

        <div class="form_submit">
            <input type="submit" class="submit" value="<?php echo lang('btn_save') ?>" id="save" name="save">
            <input onclick='location.href = "<?php echo base_url() ?>user"' type="button" class="submit" value="<?php echo lang('btn_cancel') ?>" name="cancel">
        </div>
        <?php echo form_close(); ?>
    </div>
</div>